import store from "../store/index";

window.alert = function(message) {
    // 异步添加
    store.dispatch("addMessage",message);
}

// window.confirm 